﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Submarines
{
    public partial class frmGai : Form
    {
        public frmGai(bool local)
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            
        }

        private void setup1_Load(object sender, EventArgs e)
        {

        }

        private void startButton_Click(object sender, EventArgs e)
        {
            tblOpponent.InstallSubmarines();
        }

        private void nextButton_Click(object sender, EventArgs e)
        {
            tblOpponent.Next();
        }

        private void startButton_Click_1(object sender, EventArgs e)
        {
            tblSetup.Visible = false;
            tblOpponent.Visible = true;

        }

        private void btnGenerateMe_Click(object sender, EventArgs e)
        {
            tblPlayer.InstallSubmarines();
        }

        private void btnGenerateOpponent_Click(object sender, EventArgs e)
        {
            tblOpponent.InitializeSubmarines();
        }

     
    }
}
